ExamPlay Light Logo
Hyni

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 9)

What is a 'flag' variable used for in an algorithm?
To store a numerical value.
To indicate the status of a condition.
To display output to the user.
To control the number of iterations in a loop.

Shpjegimi

A flag variable is used to signal whether a certain condition is met during program execution.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc